package br.ufal.ic.dao.mock;

import br.ufal.ic.dao.DelegateDAO;
import br.ufal.ic.dao.FacadeDAO;
import br.ufal.ic.dao.RankingDAO;
import br.ufal.ic.dao.TournamentDAO;
import br.ufal.ic.dao.UserDAO;

/**
 *
 * @author Marcos Paulo
 */
public class MockFacadeDAO extends FacadeDAO {

    private MockUserDAO userDAO;
    private MockDelegateDAO delegateDAO;
    private MockTournamentDAO tournamentDAO;
    private MockRankingDAO rankingDAO;

    public MockFacadeDAO() {
        userDAO = new MockUserDAO();
        delegateDAO = new MockDelegateDAO();
        tournamentDAO = new MockTournamentDAO();
        rankingDAO = new MockRankingDAO();
    }

    @Override
    public UserDAO getUserDAO() {
        return userDAO;
    }

    @Override
    public TournamentDAO getTournamentDAO() {
        return tournamentDAO;
    }

    @Override
    public DelegateDAO getDelegateDAO() {
        return delegateDAO;
    }

    @Override
    public RankingDAO getRankingDAO() {
        return rankingDAO;
    }
}
